﻿namespace WH.Contracts.Dtos
{
    /// <summary>
    /// 分页通用参数
    /// </summary>
    public class PageReqDto
    {
        /// <summary>
        /// 前台不用传值，后台用来返回总条数
        /// </summary>
        public int count { get; set; } = 0;

        /// <summary>
        /// 每页条数
        /// </summary>
        public int limit { get; set; } = 10;

        /// <summary>
        /// 当前页
        /// </summary>
        public int page { get; set; } = 1;
    }
}
